//
//  ProduceViewController.m
//  MilkPowder
//
//  Created by 王焕强 on 15/9/27.
//  Copyright © 2015年 SangShen. All rights reserved.
//

#import "ProduceViewController.h"
#import "ProduceTableViewCell.h"
#import "ProduceViewModel.h"

@interface ProduceViewController ()

@property (nonatomic, strong) ProduceViewModel *produce;

@end

@implementation ProduceViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/


- (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section {
    return 10;
}

- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath {
    ProduceTableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:@"produceCell"];
    
    [self configurateTableCellInfo:cell index:indexPath.row];
    
    return cell;
}


#pragma mark - Pravice Delegate
- (void)configurateTableCellInfo:(ProduceTableViewCell *)cell index:(NSInteger)index {
    
}





@end
